<?php
require_once dirname(__FILE__).'/Texy/texy.compact.php';
class TexyViewFilter implements IViewFilter{
    
    private $texy;

    public function __construct(){
        $this->texy = new Texy();
    }

    public function render($text){
        return $this->texy->process($text);
    }

    public function getInstance(){
        return $this->texy;
    }
}

?>